package com.yiren.manager.form.department;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.form.elder.YrElderBeHospitalForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;
import com.yiren.manager.utils.CustomSimpleDateDeserializer;

public class YrCgSendOrderForm extends GenericForm {

	private static final long serialVersionUID = 6629594999544608730L;

	private String cgSendOrderId;

	private String caregiverId;

	private String caregiverName;

	private String caregiverSendOrdersStandardId;

	private String createId;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	private String elderId;

	private String elderName;

	private String nursingCostId;

	private String nursingCostName;

	private Float nursingCostPrice;

	private String orderStandardName;

	private Float orderStandardSalary;

	private String updateId;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;

	private Integer status;

	private YrCaregiverForm caregiverForm;

	private YrElderBeHospitalForm elderBeHospitalForm;

	private String subjectRoomId;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date preSaralyPayDate;

	public Date getPreSaralyPayDate() {
		return preSaralyPayDate;
	}

	@JsonDeserialize(using = CustomSimpleDateDeserializer.class)
	public void setPreSaralyPayDate(Date preSaralyPayDate) {
		this.preSaralyPayDate = preSaralyPayDate;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public YrCaregiverForm getCaregiverForm() {
		return caregiverForm;
	}

	public void setCaregiverForm(YrCaregiverForm caregiverForm) {
		this.caregiverForm = caregiverForm;
	}

	public YrElderBeHospitalForm getElderBeHospitalForm() {
		return elderBeHospitalForm;
	}

	public void setElderBeHospitalForm(YrElderBeHospitalForm elderBeHospitalForm) {
		this.elderBeHospitalForm = elderBeHospitalForm;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCgSendOrderId() {
		return cgSendOrderId;
	}

	public void setCgSendOrderId(String cgSendOrderId) {
		this.cgSendOrderId = cgSendOrderId;
	}

	public String getCaregiverId() {
		return caregiverId;
	}

	public void setCaregiverId(String caregiverId) {
		this.caregiverId = caregiverId;
	}

	public String getCaregiverName() {
		return caregiverName;
	}

	public void setCaregiverName(String caregiverName) {
		this.caregiverName = caregiverName;
	}

	public String getCaregiverSendOrdersStandardId() {
		return caregiverSendOrdersStandardId;
	}

	public void setCaregiverSendOrdersStandardId(String caregiverSendOrdersStandardId) {
		this.caregiverSendOrdersStandardId = caregiverSendOrdersStandardId;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using = CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getElderName() {
		return elderName;
	}

	public void setElderName(String elderName) {
		this.elderName = elderName;
	}

	public String getNursingCostId() {
		return nursingCostId;
	}

	public void setNursingCostId(String nursingCostId) {
		this.nursingCostId = nursingCostId;
	}

	public String getNursingCostName() {
		return nursingCostName;
	}

	public void setNursingCostName(String nursingCostName) {
		this.nursingCostName = nursingCostName;
	}

	public Float getNursingCostPrice() {
		return nursingCostPrice;
	}

	public void setNursingCostPrice(Float nursingCostPrice) {
		this.nursingCostPrice = nursingCostPrice;
	}

	public String getOrderStandardName() {
		return orderStandardName;
	}

	public void setOrderStandardName(String orderStandardName) {
		this.orderStandardName = orderStandardName;
	}

	public Float getOrderStandardSalary() {
		return orderStandardSalary;
	}

	public void setOrderStandardSalary(Float orderStandardSalary) {
		this.orderStandardSalary = orderStandardSalary;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using = CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
